<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>调用 /authorize 接口</title>
</head>

<body>
    <button id="authorizeButton">授权</button>

    <script>
        document.getElementById('authorizeButton').addEventListener('click', () => {
            // 直接跳转至 /authorize 接口
            window.location.href = '/authorize?client_id=client1&redirect_uri=http://192.168.6.128:5001/callback';
        });
    </script>
</body>

</html>